<?php

namespace App\weapp\controller;

use EasyWeChat\MiniProgram\Application;

class Controller
{
    public function wx()
    {
        return new Application([
            'app_id' => config('admin.WX_APPID'),
            'secret' => config('admin.WX_SECRET')
        ]);
    }
}